import numpy as np

def generate_data():
    np.random.seed(123)
    data = np.random.randn(1024).astype(np.float32)
    data.tofile("input.bin")
    print("测试数据已生成到input.bin")

if __name__ == "__main__":
    generate_data()